package com.job.springsea.work0705;

/**
 * @author 于春海
 * @version 1.0
 * @since 2022-07-07 13:40:18
 */
public class Circle02 {
    public static void main(String[] args) {
        int result,first,second,third,count=0;
        for (first = 1; first <=4 ; first++) {
            for (second = 1; second <=4 ; second++) {
                for (third = 1;  third<=4 ; third++) {
                    if(first!=second&&first!=third&&second!=third){
                        result=first*100+second*10+third;
                        count++;
                        System.out.println(result);
                    }
                }
            }
        }
        System.out.println("共"+count+"个数!");
    }
}